%matplotlib inline
# OPTIONAL: Load the "autoreload" extension so that code can change
%load_ext autoreload
# OPTIONAL: always reload modules so that as you change code in src, it gets loaded
%autoreload 2
from pvlib.iotools import read_epw
weather, meta = read_epw('../data/processed/meteo.epw')
weather.head()
import pandas as pd
summary = pd.read_csv('../data/processed/summary.csv')
summary.head()
energy_zones = pd.read_csv('../data/processed/energy_zones.csv')
energy_zones.head()
cultural_e = pd.read_csv('../data/processed/cultural-e.csv')
cultural_e.head()
from src.visualization import visualize as viz
viz.air_temperature(weather)
viz.relative_humidity(weather)
viz.horizontal_irradiance(weather)
viz.heating_loads(cultural_e)
viz.cooling_loads(cultural_e)
viz.energy_balance(summary)
for zone in ['1', '2', '3', '4', '5']:
viz.zone_energy_balance(energy_zones, zone)
viz.monthly_consumption(cultural_e)
viz.psychrochart(cultural_e.sample(n=100), 'bed1_single').get_figure()
viz.airt_heatmap(cultural_e, 'bed1_single')
viz.shd_heatmap(cultural_e)
viz.win_heatmap(cultural_e)
viz.iaq_co2(cultural_e, ['LR'], ['BR1', 'BR2'])
viz.relh(cultural_e, ['RELHUM_livingRoom', 'RELHUM_bed1_single','RELHUM_bed2_double'], ['SCH_PER_LR', 'SCH_PER_BR1', 'SCH_PER_BR2'])